# XFAIL: system-windows
# REQUIRES: native && target-x86
# RUN: %clangxx_host -mmmx -fomit-frame-pointer %p/Inputs/x86-gp-write.cpp -o %t
# RUN: %lldb -b -s %s %t | FileCheck %s
process launch

register write eax 0x01020304
register write ebx 0x11121314
register write ecx 0x21222324
register write edx 0x31323334
register write esp 0x41424344
register write ebp 0x51525354
register write esi 0x61626364
register write edi 0x71727374

process continue
# CHECK-DAG: eax = 0x01020304
# CHECK-DAG: ebx = 0x11121314
# CHECK-DAG: ecx = 0x21222324
# CHECK-DAG: edx = 0x31323334
# CHECK-DAG: esp = 0x41424344
# CHECK-DAG: ebp = 0x51525354
# CHECK-DAG: esi = 0x61626364
# CHECK-DAG: edi = 0x71727374

# CHECK: Process {{[0-9]+}} exited with status = 0
